<!--
  To change this template, choose Tools | Templates
  and open the template in the editor.
-->

<%@ page contentType="text/html;charset=UTF-8" %>

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="layout" content="main" />
    <title>Login</title>
  </head>
  <body>
    <h1>Login</h1>
      <g:message code="${flash.message}"/>
      <g:form controller="user" action="login" method="post">

        <input type="text" id ="email" name="email"/><br/>
        <input type="password" id ="password" name="password"/><br/>
        <input type="submit" value="submit"/>
      </g:form>
      <br />
      <g:link controller="user" action="join">Join</g:link>
  </body>
</html>
